package com.yanfan.energy.mapper;

import com.yanfan.energy.domain.EnergyCopDTO;
import com.yanfan.energy.domain.EnergyCop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lsy
 * @description 针对表【energy_cop】的数据库操作Mapper
 * @createDate 2024-05-06 10:53:00
 * @Entity com.yanfan.energy.domain.EnergyCop
 */
public interface EnergyCopMapper extends BaseMapper<EnergyCop> {
    List<EnergyCopDTO> selectCop(@Param("beginDate") String beginDate, @Param("endDate") String endDate);

    int insertCop(EnergyCopDTO copDTO);
}




